package com.ruoyi.exam.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 考试答案对象 exam_answer
 * 
 * @author ba7lgj
 * @date 2024-04-03
 */
public class ExamAnswer extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 答案ID */
    private Long answerId;

    /** 答案 */
    @Excel(name = "答案")
    private String answerContent;

    /** 图片路径 */
    @Excel(name = "图片路径")
    private String image;

    /** 正确 */
    @Excel(name = "正确")
    private String right;

    /** 问题ID */
    @Excel(name = "问题ID")
    private Long questionId;

    public void setAnswerId(Long answerId) 
    {
        this.answerId = answerId;
    }

    public Long getAnswerId() 
    {
        return answerId;
    }
    public void setAnswerContent(String answerContent) 
    {
        this.answerContent = answerContent;
    }

    public String getAnswerContent() 
    {
        return answerContent;
    }
    public void setImage(String image) 
    {
        this.image = image;
    }

    public String getImage() 
    {
        return image;
    }
    public void setRight(String right) 
    {
        this.right = right;
    }

    public String getRight() 
    {
        return right;
    }
    public void setQuestionId(Long questionId) 
    {
        this.questionId = questionId;
    }

    public Long getQuestionId() 
    {
        return questionId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("answerId", getAnswerId())
            .append("answerContent", getAnswerContent())
            .append("image", getImage())
            .append("right", getRight())
            .append("questionId", getQuestionId())
            .toString();
    }
}
